﻿ <%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%
	String path = request.getContextPath() + "/";
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta charset="UTF-8">
<title>选择分类</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style2/d_common.css">
	<link rel="stylesheet" href="css/style2/common1.css">
<script>
var i = 120;
Timeout();
function Timeout(){
	if(i>0){
		i--;
		setTimeout(function(){Timeout();},1000);
	}else{
		window.location.href="<%=basePath%>declaimer/endread?devicecode=${devicecode}&guid=${user.guid}";
	}
}
</script>
<style>
.list li {
	background: none;
	width: 24%;
	margin-right:auto;
}

.list li img {
	width: 150px;
	height: 150px;
	padding-top: 0px;
	padding-bottom: 0px;
	border: 10px solid #c1e1dc;
	border-radius: 50%;

}

.list li a span {
	/*width: 30px;*/
	background: none;
}
</style>
</head>
<body>
	<div class="header">
		<div class="logo">

			<a href="declaimer/first?guid=${user.guid}&devicecode=${devicecode}"><img src="img/n_logo.png" alt="">&nbsp;
			</a>
		</div>
		<div class="user">
			<img src="${user.pic==null?'img/man.png':user.pic==''?'img/man.png':user.pic }" alt="">
			<div class="admin">
				<span class="name">${user.name }</span><span class="number">【${user.cardno }】</span>
			</div>
			<a class="tuichu" href="declaimer/endread?devicecode=${devicecode}&guid=${user.guid}" style="background:#25c0f6;display: inline-block;padding: 5px;height: 30px;line-height: 30px;border-radius:5px;width: 80px;text-align: center;">退出</a>
		</div>
	</div>
	<div class="main first-main">
		<ul class="list clear">
			<c:forEach var="type" items="${list }">
			<li><a href="declaimer/material?cardno=${user.cardno }&guid=${user.guid}&code=${type.code }&devicecode=${devicecode}" class="reader"> <img
					src="${type.pic }" alt=""><br> <span style="color:#000;">${type.title }</span> </a></li>
			</c:forEach>
		</ul>
	</div>
	<div class="footer">
		<div class="footer-content">
			<img src="img/wx.png" alt="" class="footerimg1">
			<ul>
			<li style="margin-left: 36px;margin-top: 77px;font-size: 18px;"><span></span>欢迎使用信昇达朗读亭</li>
			<li style="margin-left: 36px;font-size: 18px;"><span></span>朗读亭提供朗读录制服务</li>
		</ul>
		<!--<c:if test="${isLogin!='1' }"><img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=${ticket }" alt="" class="footerimg1"></c:if>-->
		<!--<c:if test="${isLogin=='1' }"><img src="img/wx.png" alt="" class="footerimg1"></c:if>-->
	</div>
	<div class="copyright" style="margin-top: 72px;font-size: 18px;">
		<%-- ${c.footer } --%>
	</div>
	</div>
</body>
</html>